package com.rocksea.app.db;

import com.litesuits.orm.db.annotation.Default;
import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.enums.AssignType;

/**
 * @author by Mrw_v @date on 2018/9/28
 */

@Table("UpLoadingTable")
public class UpLoadingTable
{
    public static final String DEFAULT_UUID = "DEFAULT_UUID";

    @PrimaryKey(AssignType.AUTO_INCREMENT)
    public int id;
    public String planNum;
    public String pileNo;
    public String baseInfoId;
    public int mode;
    @Default("0")
    public int isUploading = 0;

    public String uuid;

    public UpLoadingTable(){}

    public UpLoadingTable(int mode,String baseInfoId,String pileNo,String planNum,String uuid)
    {
        this.baseInfoId = baseInfoId;
        this.mode = mode;
        this.pileNo = pileNo;
        this.planNum = planNum;
        this.uuid = uuid;
    }

}
